<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">工厂货号</label>
            <div class="layui-input-block">
                <input type="text" name="item_number" class="layui-input" lay-verify="required" placeholder="请输入工厂货号" value="{$row.item_number|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">SKU</label>
            <div class="layui-input-block">
                <input type="text" name="sku" class="layui-input" lay-verify="required" placeholder="请输入SKU" value="{$row.sku|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">名称</label>
            <div class="layui-input-block">
                <input type="text" name="name" class="layui-input"  placeholder="请输入名称" value="{$row.name|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">供应商ID</label>
            <div class="layui-input-block">
                <input type="text" name="supplier_id" class="layui-input" lay-verify="required" placeholder="请输入供应商ID" value="{$row.supplier_id|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">分类ID</label>
            <div class="layui-input-block">
                <input type="text" name="category_id" class="layui-input" lay-verify="required" placeholder="请输入分类ID" value="{$row.category_id|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">规则ID</label>
            <div class="layui-input-block">
                <input type="text" name="rule_id" class="layui-input" lay-verify="required" placeholder="请输入规则ID" value="{$row.rule_id|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否自动分配</label>
            <div class="layui-input-block">
                <input type="text" name="is_auto" class="layui-input" lay-verify="required" placeholder="请输入是否自动分配" value="{$row.is_auto|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">成本价格</label>
            <div class="layui-input-block">
                <input type="text" name="cost" class="layui-input"  placeholder="请输入成本价格" value="{$row.cost|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">生成周期（天）</label>
            <div class="layui-input-block">
                <input type="text" name="cycle" class="layui-input" lay-verify="required" placeholder="请输入生成周期（天）" value="{$row.cycle|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">AI分类ID</label>
            <div class="layui-input-block">
                <input type="text" name="ai_category_id" class="layui-input"  placeholder="请输入AI分类ID" value="{$row.ai_category_id|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">AI制作倍数</label>
            <div class="layui-input-block">
                <input type="text" name="ai_multiple" class="layui-input"  placeholder="请输入AI制作倍数" value="{$row.ai_multiple|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">扩展</label>
            <div class="layui-input-block">
                <input type="text" name="extension" class="layui-input"  placeholder="请输入扩展" value="{$row.extension|default=''}">
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>